#ifndef MD5_H_INCLUDED
#define MD5_H_INCLUDED

#include "animatedmodel.h"

namespace sheeplib {

	namespace model {

		class MD5 : public AnimatedModel {
			private:
				bool ReadJointAndMeshCounts(ifstream& fileIn);
				bool ReadJointList(ifstream& fileIn);
				bool ReadMesh(ifstream& fileIn);
				bool ReadVersionNumber(ifstream& fileIn);
				bool ReadCommandLine(ifstream& fileIn);
			public:
				MD5();
				virtual ~MD5();

				bool LoadModelFile(const string& filename);

		};
	}
}

#endif // MD5_H_INCLUDED
